<?php
class TBB_View_Helper_LayoutSwitch extends Zend_View_Helper_Abstract
{
	public function layoutSwitch($moduleName = "customer", $layoutName = "customer")
	{		
		Zend_Layout::getMvcInstance()->setLayout($layoutName);
		Zend_Layout::getMvcInstance()->setLayoutPath(APPLICATION_PATH . '/modules/' . $moduleName . '/layouts/scripts');
	}
}
?>